﻿using System;
using System.Management;
using System.Management.Automation;
using Microsoft.SharePoint;
using SPPoSh.Cmdlets.CustomObjects;
namespace SPPoSh.Cmdlets.CustomArtefacts
{
    [Cmdlet(VerbsCommon.Get, "SPVersion")]
    class GetSPVersionCmdlet : Cmdlet
    {
        protected override void ProcessRecord()
        {
            CustomObjects.SPPoShVersionInfo spPoshVersionInfo = new CustomObjects.SPPoShVersionInfo();
            this.WriteObject(spPoshVersionInfo);
        }
    }
}
